//封装本地存储存储数据与读取数据方法
//存储数据
export const SET_TOKEN = (tokenName: string, token: string) => {
  localStorage.setItem(tokenName, token)
}
//本地存储获取数据
export const GET_TOKEN = (tokenName: string) => {
  return localStorage.getItem(tokenName)
}
//本地存储删除数据方法
export const REMOVE_TOKEN = (tokenName: string) => {
  localStorage.removeItem(tokenName)
}
